package com.bdqn.mr.etl;

import org.apache.commons.lang.StringUtils;

import java.util.concurrent.ExecutionException;

public class ETLUtils {
    public static boolean hasElevenFields(String line) {
        if (StringUtils.isEmpty(line)) {
            throw new RuntimeException("输入的字符串不能为空");
        }
        String[] fields = line.split(" ");
        return fields.length > 11 ? true : false;
    }
}
